﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="FileUpload.aspx.cs" Inherits="User_UserFile_Default" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>文件上传</title>
    <base target="_self"></base>
</head>
<script type="text/javascript" src="../../js/MyOption.js" ></script>

    <link rel="Stylesheet" type="text/css" href="../../Styles/right_style.css" />
    <script type="text/javascript" src="../../js/MyOption.js"></script>

<style type="text/css">
<!--
html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
-->
</style>

<body onload="getSendArgs()">
    <%     
        Response.Buffer = true;
        Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
        Response.Expires = 0;
        Response.CacheControl = "no-cache";   
    %>
    <form id="form1" runat="server">
        <div>
            <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="jsmail_boder" style="font-size: 12px;">
             <tr class="jsmail_bgcolor">
                    <td colspan="2" height="30px" align="center">
                        文件上传对话框
                    </td>
                </tr> 
                <tr>
                    <td style="WIDTH: 244px">
                        1.选择要上传的文件: 
                    </td>
                    <td>
                        <asp:FileUpload ID="fileUpload" runat="server" Width="100%" /></td>
                </tr>
                <tr>
                    <td style="WIDTH: 244px">
                        2.点击上传按钮将文件上传到服务器: 
                    <td align="right">
                        <asp:Button ID="btnUpload" runat="server" OnClientClick="return checkUploadFile('fileUpload')" OnClick="btnUpload_Click"
                            Text="上传" Width="61px" PostBackUrl="#" Height="21px" /></td>
                </tr>
                <tr>
                    <td style="" colspan="2">
                   3.如果有多个文件需要上传请重复操作</td> 
                </tr>
                <tr>
                    <td style="">
                         4.请检查已上传文件:
                    </td>
                    <td>
                        <input id="emailSendDateTime" runat="server" style="width: 123px" type="hidden" />
                        <asp:ListBox ID="ltbUploadFiles" runat="server" Height="178px" Width="100%" SelectionMode="Multiple"></asp:ListBox>
                        </td>
                </tr>
                <tr">
                    <td align="center" colspan="2" style="height: 30px">
                        <input id="emailTargetUsername" runat="server" style="width: 42px" type="hidden" />
                        <input id="emailTarget" runat="server" type="hidden" />
                        <input id="Button1" onclick="getReturnValue('ltbUploadFiles')" style="width: 105px;
                            height: 21px" type="button" value="确定并返回" />
                        <asp:Button ID="btnDelFile" runat="server" Height="21px" OnClientClick="return checkDelUploadFile('ltbUploadFiles')"
                            Text="删除" Width="61px" OnClick="btnDelFile_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
